<%--
  Created by IntelliJ IDEA.
  User: fan
  Date: 2022/9/7
  Time: 20:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="ftm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>开发部门详情</title>
</head>
<body>
    <table align="center" width="80%" border="1px" bgcolor="#fff8dc">
        <tr>
            <th>开发商部门编号</th>
            <th>开发商部门名称</th>
            <th>项目编号</th>
            <th>更新时间</th>
            <th>状态</th>
            <th>任务计划名称</th>
        </tr>
        <tr>
            <td>${branch.bid}</td>
            <td>${branch.bname}</td>
            <td>${branch.pid}</td>
            <td><ftm:formatDate value="${branch.updatetime}"></ftm:formatDate></td>
            <td>${branch.status}</td>
            <td>
                <c:forEach items="${branch.taskplans}" var="taskplans">
                    <a href="/taskplan/findTaskplansByTname?tname=${taskplans.tname}">${taskplans.tname}</a>
                </c:forEach>
            </td>

        </tr>
    </table>
</body>
</html>
